package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * SQL服务信息对象 sql_service
 * 
 * @author ruoyi
 * @date 2025-04-30
 */
public class SqlService extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String sqlName;

    /** 代码 */
    @Excel(name = "代码")
    private String sqlCode;

    /** 内容 */
    @Excel(name = "内容")
    private String sqlContent;

    /** 创建人，记录创建该SQL的人员账号或姓名 */
    @Excel(name = "创建人，记录创建该SQL的人员账号或姓名")
    private String creator;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSqlName(String sqlName) 
    {
        this.sqlName = sqlName;
    }

    public String getSqlName() 
    {
        return sqlName;
    }

    public void setSqlCode(String sqlCode) 
    {
        this.sqlCode = sqlCode;
    }

    public String getSqlCode() 
    {
        return sqlCode;
    }

    public void setSqlContent(String sqlContent) 
    {
        this.sqlContent = sqlContent;
    }

    public String getSqlContent() 
    {
        return sqlContent;
    }

    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sqlName", getSqlName())
            .append("sqlCode", getSqlCode())
            .append("sqlContent", getSqlContent())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .toString();
    }
}
